//
//  KDDayType.m
//  KongDays
//
//  Created by deeplu on 12. 12. 21..
//  Copyright (c) 2012년 BlueBeans. All rights reserved.
//

#import "KDDayType.h"

@implementation KDDayType
@synthesize key = key_;
@synthesize title = title_;
@synthesize picture = picture_;

+ (NSArray *)listAll
{
    KDDayType *user = [[KDDayType alloc] init];
    user.key = @"user";
    user.title = NSLocalizedString(@"User", nil);
    user.picture = [UIImage imageNamed:@"picture.png"];
    
    KDDayType *birthday = [[KDDayType alloc] init];
    birthday.key = @"birthday";
    birthday.title = NSLocalizedString(@"Birthday", nil);
    birthday.picture = [UIImage imageNamed:@"picture.png"];
    
    KDDayType *wedding = [[KDDayType alloc] init];
    wedding.key = @"wedding";
    wedding.title = NSLocalizedString(@"WeddingAnniversary", nil);
    wedding.picture = [UIImage imageNamed:@"picture.png"];
    
    NSArray *list = [[[NSArray alloc] initWithObjects:user, birthday, wedding, nil] autorelease];
    
    [user release];
    [birthday release];
    [wedding release];
    
    return list;
}

- (id)init
{
    self = [super init];
    if (self)
    {
        
    }
    
    return self;
}

- (void)dealloc
{
    [self.key release];
    [self.title release];
    [self.picture release];
    
    [super dealloc];
}
@end
